<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>AndBase开发框架: com.ab.image.toolbox.ImageLoader.BatchedImageRequest类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ic_launcher.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">AndBase开发框架
   &#160;<span id="projectnumber">1.6</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab.html">ab</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1image.html">image</a></li><li class="navelem"><a class="el" href="namespacecom_1_1ab_1_1image_1_1toolbox.html">toolbox</a></li><li class="navelem"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader.html">ImageLoader</a></li><li class="navelem"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html">BatchedImageRequest</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.ab.image.toolbox.ImageLoader.BatchedImageRequest类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6f17f2c384675390344cd212c24586cf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a6f17f2c384675390344cd212c24586cf">BatchedImageRequest</a> (Request&lt;?&gt; request, <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> container)</td></tr>
<tr class="separator:a6f17f2c384675390344cd212c24586cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a3847310557849f5c2acbea733480bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a8a3847310557849f5c2acbea733480bb">setError</a> (VolleyError error)</td></tr>
<tr class="separator:a8a3847310557849f5c2acbea733480bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0c9a0abb9f910adfbc417cb1a912473"><td class="memItemLeft" align="right" valign="top">VolleyError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#ad0c9a0abb9f910adfbc417cb1a912473">getError</a> ()</td></tr>
<tr class="separator:ad0c9a0abb9f910adfbc417cb1a912473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3504d4de8146187bc6f8347126ce77fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a3504d4de8146187bc6f8347126ce77fc">addContainer</a> (<a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> container)</td></tr>
<tr class="separator:a3504d4de8146187bc6f8347126ce77fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accebfdef0f170177d414091cd6702dfe"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#accebfdef0f170177d414091cd6702dfe">removeContainerAndCancelIfNecessary</a> (<a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> container)</td></tr>
<tr class="separator:accebfdef0f170177d414091cd6702dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a7e980968b5394ca4178a56d711c6d37c"><td class="memItemLeft" align="right" valign="top">final Request&lt;?&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a7e980968b5394ca4178a56d711c6d37c">mRequest</a></td></tr>
<tr class="separator:a7e980968b5394ca4178a56d711c6d37c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00309ca4a9fd7b3370afd889b1db8202"><td class="memItemLeft" align="right" valign="top">Bitmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a00309ca4a9fd7b3370afd889b1db8202">mResponseBitmap</a></td></tr>
<tr class="separator:a00309ca4a9fd7b3370afd889b1db8202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22f6638e3a95710e33901748a9bee82e"><td class="memItemLeft" align="right" valign="top">VolleyError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#a22f6638e3a95710e33901748a9bee82e">mError</a></td></tr>
<tr class="separator:a22f6638e3a95710e33901748a9bee82e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5651d9945395f2757f277a17961bf23"><td class="memItemLeft" align="right" valign="top">final LinkedList&lt; <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html#ae5651d9945395f2757f277a17961bf23">mContainers</a> = new LinkedList&lt;<a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&gt;()</td></tr>
<tr class="separator:ae5651d9945395f2757f277a17961bf23"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Wrapper class used to map a Request to the set of active <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> objects that are interested in its results. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a6f17f2c384675390344cd212c24586cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">com.ab.image.toolbox.ImageLoader.BatchedImageRequest.BatchedImageRequest </td>
          <td>(</td>
          <td class="paramtype">Request&lt;?&gt;&#160;</td>
          <td class="paramname"><em>request</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&#160;</td>
          <td class="paramname"><em>container</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructs a new <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_batched_image_request.html">BatchedImageRequest</a> object </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">request</td><td>The request being tracked </td></tr>
    <tr><td class="paramname">container</td><td>The <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> of the person who initiated the request. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a3504d4de8146187bc6f8347126ce77fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.image.toolbox.ImageLoader.BatchedImageRequest.addContainer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&#160;</td>
          <td class="paramname"><em>container</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds another <a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a> to the list of those interested in the results of the request. </p>

</div>
</div>
<a class="anchor" id="ad0c9a0abb9f910adfbc417cb1a912473"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">VolleyError com.ab.image.toolbox.ImageLoader.BatchedImageRequest.getError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the error for this response </p>

</div>
</div>
<a class="anchor" id="accebfdef0f170177d414091cd6702dfe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.ab.image.toolbox.ImageLoader.BatchedImageRequest.removeContainerAndCancelIfNecessary </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&#160;</td>
          <td class="paramname"><em>container</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Detatches the bitmap container from the request and cancels the request if no one is left listening. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">container</td><td>The container to remove from the list </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>True if the request was canceled, false otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a8a3847310557849f5c2acbea733480bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.ab.image.toolbox.ImageLoader.BatchedImageRequest.setError </td>
          <td>(</td>
          <td class="paramtype">VolleyError&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the error for this response </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a class="anchor" id="ae5651d9945395f2757f277a17961bf23"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final LinkedList&lt;<a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&gt; com.ab.image.toolbox.ImageLoader.BatchedImageRequest.mContainers = new LinkedList&lt;<a class="el" href="classcom_1_1ab_1_1image_1_1toolbox_1_1_image_loader_1_1_image_container.html">ImageContainer</a>&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>List of all of the active ImageContainers that are interested in the request </p>

</div>
</div>
<a class="anchor" id="a22f6638e3a95710e33901748a9bee82e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">VolleyError com.ab.image.toolbox.ImageLoader.BatchedImageRequest.mError</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Error if one occurred for this response </p>

</div>
</div>
<a class="anchor" id="a7e980968b5394ca4178a56d711c6d37c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final Request&lt;?&gt; com.ab.image.toolbox.ImageLoader.BatchedImageRequest.mRequest</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The request being tracked </p>

</div>
</div>
<a class="anchor" id="a00309ca4a9fd7b3370afd889b1db8202"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Bitmap com.ab.image.toolbox.ImageLoader.BatchedImageRequest.mResponseBitmap</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The result of the request being tracked by this item </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/com/ab/image/toolbox/<a class="el" href="_image_loader_8java.html">ImageLoader.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2014年 十一月 6日 星期四 11:22:02 , 为 AndBase开发框架使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
